/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.Building;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import org.springblade.modules.admin.entity.BuildingExt;

import java.util.List;

/**
 * 楼盘信息视图实体类
 *
 * @author BladeX
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BuildingVO对象", description = "楼盘信息")
public class BuildingVO extends Building {
	private static final long serialVersionUID = 1L;

	private String parentName;

	private Integer elevatorCount;

	private List<ElevatorVO> elevatorList;

	@ApiModelProperty(value = "联系人名称")
	private String contactsName;

	@ApiModelProperty(value = "手机号码")
	private String phone;

	@ApiModelProperty(value = "性别：男-0，女-1")
	private Integer gender;

	@ApiModelProperty(value = "小区类型")
	private String typeName;

	private String elevatorNum;

	private Long elevatorId;

	private String elevatorAddress;

	private String elevatorAlias;

	@ApiModelProperty(value = "项目扩展信息")
	private BuildingExt buildingExt;

	@ApiModelProperty(value = "项目别名")
	private String alias;
}
